	<!-- ===== ${pojo.getDeclarationName()?uncap_first} ===== -->

	<managed-bean>
		<managed-bean-name>${pojo.getDeclarationName()?uncap_first}Bean</managed-bean-name>
		<managed-bean-class>com.xiupopo.shopping.view.bean.${pojo.getDeclarationName()}Bean</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
	</managed-bean>
	<!-- entry -->
	<navigation-rule>
		<from-view-id>*</from-view-id>
		<navigation-case>
			<from-action>${"#{"}${pojo.getDeclarationName()?uncap_first}Bean.loadList}</from-action>
			<from-outcome>success</from-outcome>
			<to-view-id>/jsp/${pojo.getDeclarationName()}/list.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
	<!-- new to enter -->
	<navigation-rule>
		<from-view-id>*</from-view-id>
		<navigation-case>
			<from-action>${"#{"}${pojo.getDeclarationName()?uncap_first}Bean.newAction}</from-action>
			<from-outcome>success</from-outcome>
			<to-view-id>/jsp/${pojo.getDeclarationName()}/new.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
	<!-- new to submit -->
	<navigation-rule>
		<from-view-id>*</from-view-id>
		<navigation-case>
			<from-action>${"#{"}${pojo.getDeclarationName()?uncap_first}Bean.createAction}</from-action>
			<from-outcome>success</from-outcome>
			<to-view-id>/jsp/${pojo.getDeclarationName()}/list.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
	<!-- edit to enter -->
	<navigation-rule>
		<from-view-id>*</from-view-id>
		<navigation-case>
			<from-action>${"#{"}${pojo.getDeclarationName()?uncap_first}Bean.readAction}</from-action>
			<from-outcome>success</from-outcome>
			<to-view-id>/jsp/${pojo.getDeclarationName()}/edit.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
	<!-- edit to submit -->
	<navigation-rule>
		<from-view-id>*</from-view-id>
		<navigation-case>
			<from-action>${"#{"}${pojo.getDeclarationName()?uncap_first}Bean.updateAction}</from-action>
			<from-outcome>success</from-outcome>
			<to-view-id>/jsp/${pojo.getDeclarationName()}/list.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
	<!-- delete -->
	<navigation-rule>
		<from-view-id>*</from-view-id>
		<navigation-case>
			<from-action>${"#{"}${pojo.getDeclarationName()?uncap_first}Bean.deleteAction}</from-action>
			<from-outcome>success</from-outcome>
			<to-view-id>/jsp/${pojo.getDeclarationName()}/list.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
	
	<!-- ===== end of ${pojo.getDeclarationName()?uncap_first} ===== -->
